#include "input.h"

//CHRG_STAT_LP:IO5
//VB_ADC:IO4

// const unsigned char interruptPin = 5;
// volatile unsigned int interruptCounter = 0;
// unsigned int numberOfInterrupts = 0;

// portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;

void Input_Init(void)
{
    pinMode(5,INPUT);
    pinMode(4,INPUT);
    // attachInterrupt(digitalPinToInterrupt(4),InCharging,RISING);
}

// void handleInterrupt(void)
// {

//     portENTER_CRITICAL_ISR(&mux);

//     interruptCounter++;

//     portEXIT_CRITICAL_ISR(&mux);

// }